package com.snake.springboot.authority.api.model;

import java.util.Set;

public class AccountInfoModel {
    /**
     * 帐户唯一ID
     */
    private String accountId;

    /**
     * 呢称
     */
    private String account;

    /**
     * 用户类型标识
     */
    private Integer type;

    /**
     * token的密匙
     */
    private String secret;

    /**
     * 附属对象
     */
    private Object attachedObject;

    /**
     * 权限集
     */
    private Set<String> perms;

    public String getAccountId() {
        return accountId;
    }

    public void setAccountId(String accountId) {
        this.accountId = accountId;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getSecret() {
        return secret;
    }

    public void setSecret(String secret) {
        this.secret = secret;
    }

    public Object getAttachedObject() {
        return attachedObject;
    }

    public void setAttachedObject(Object attachedObject) {
        this.attachedObject = attachedObject;
    }

    public Set<String> getPerms() {
        return perms;
    }

    public void setPerms(Set<String> perms) {
        this.perms = perms;
    }
}
